#ifndef _POS_CALLBACK
#define _POS_CALLBACK

#define LOG(...) __android_log_print(ANDROID_LOG_ERROR,"&&& C_PosCallback", __VA_ARGS__)

extern jobject mCallbackObj;

extern JNIEnv *initJavaCallbackMethod(jmethodID *method, const char *method_name, const char *method_params, int *detach);

extern void freeGlobalJObject(JNIEnv *jniEnv);

#endif

